package com.study.d012Components.listview;

import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

public class Student2 {
		private SimpleStringProperty name = new SimpleStringProperty();
		private SimpleIntegerProperty age = new SimpleIntegerProperty();

		public Student2(String name,int age) {
			this.name.set(name);
			this.age.set(age);
		}
		public SimpleStringProperty getName() {
			return name;
		}
		public void setName(String name) {
			this.name.set(name);
		}
		public SimpleIntegerProperty getAge() {
			return age;
		}
		public void setAge(int age) {
			this.age.set(age);
		}



}
